Package com.cisco.pt.ipc.system.impl
Class VariableManagerImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.system.impl.VariableManagerImpl
- All Implemented Interfaces:
IPCObject,VariableManager
Information provided by the PKI file:
\class VariableManager
\brief VariableManager manages the variables and pools in an activity.
\example appWindow().getActiveFile().getVariableManager()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionVariableManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptiongetIpPoolAt(int i) Information provided by the PKI file:intInformation provided by the PKI file:getNumberPoolAt(int i) Information provided by the PKI file:intInformation provided by the PKI file:getStringPoolAt(int i) Information provided by the PKI file:intInformation provided by the PKI file:getVariable(int i) Information provided by the PKI file:getVariableByName(String name) Information provided by the PKI file:intInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
VariableManagerImpl
public VariableManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getVariableSize
public int getVariableSize()Information provided by the PKI file:
\brief Returns the total number of variables. \return int, the total number of variables.- Specified by:
getVariableSizein interfaceVariableManager- Returns:
- int Returns a int
-
getVariable
Information provided by the PKI file:
\brief Returns the variable at the specified index. \param i, the index of the variable of interest. \return Variable, the Variable object at the specified index.- Specified by:
getVariablein interfaceVariableManager- Parameters:
i- Takes in a parameter of i- Returns:
- Variable Returns a Variable
-
getVariableByName
Information provided by the PKI file:
\brief Returns the variable with the specified name. \param name, the name of the variable of interest. \return Variable, the Variable object with the specified name.- Specified by:
getVariableByNamein interfaceVariableManager- Parameters:
name- Takes in a parameter of name- Returns:
- Variable Returns a Variable
-
getNumberPoolSize
public int getNumberPoolSize()Information provided by the PKI file:
\brief Returns the number of variables in the number pool. \return int, the number of variables in the number pool.- Specified by:
getNumberPoolSizein interfaceVariableManager- Returns:
- int Returns a int
-
getStringPoolSize
public int getStringPoolSize()Information provided by the PKI file:
\brief Returns the number of variables in the string pool. \return int, the number of variables in the string pool.- Specified by:
getStringPoolSizein interfaceVariableManager- Returns:
- int Returns a int
-
getIpPoolSize
public int getIpPoolSize()Information provided by the PKI file:
\brief Returns the number of variables in the IP pool. \return int, the number of variables in the IP pool.- Specified by:
getIpPoolSizein interfaceVariableManager- Returns:
- int Returns a int
-
getNumberPoolAt
Information provided by the PKI file:
\brief Returns the number pool at the specified index. \param i, the index of the number pool of interest. \return Pool, the Pool object at the specified index.- Specified by:
getNumberPoolAtin interfaceVariableManager- Parameters:
i- Takes in a parameter of i- Returns:
- Pool Returns a Pool
-
getStringPoolAt
Information provided by the PKI file:
\brief Returns the string pool at the specified index. \param i, the index of the string pool of interest. \return Pool, the Pool object at the specified index.- Specified by:
getStringPoolAtin interfaceVariableManager- Parameters:
i- Takes in a parameter of i- Returns:
- Pool Returns a Pool
-
getIpPoolAt
Information provided by the PKI file:
\brief Returns the IP pool at the specified index. \param i, the index of the IP pool of interest. \return Pool, the Pool object at the specified index.- Specified by:
getIpPoolAtin interfaceVariableManager- Parameters:
i- Takes in a parameter of i- Returns:
- Pool Returns a Pool
-